ShadowsConstraintLayout

open class ShadowsConstraintLayout @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, defStyleRes: Int = 0) : ConstraintLayout, ShadowsViewGroup(source)

A custom ConstraintLayout that implements ShadowsViewGroup.

Apart from the additional handling of the library's shadow properties and draw operations, this group behaves just like its base class.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, defStyleRes: Int = 0)

Properties

Link copied to clipboard

A single color compat value to set on all children added during initialization.

Link copied to clipboard
open override var childShadowsPlane: ShadowPlane

The ShadowPlane to set on all child Views as they're added during initialization.

Link copied to clipboard
open override var clipAllChildShadows: Boolean

If true, sets clipOutlineShadow to true on all child Views as they're added during initialization.

Link copied to clipboard

If true, sets forceOutlineShadowColorCompat to true on all child Views added during initialization.

Link copied to clipboard

Determines whether the group will take over the draw operations for Inline shadows.

Link copied to clipboard

Determines whether the group will take over the draw operations for Inline shadows.

Functions

Link copied to clipboard
Link copied to clipboard
open override fun onViewAdded(child: View)